package com.youdoneed.friends.query;

import com.querydsl.core.types.Path;
import com.querydsl.core.types.PathMetadata;
import com.querydsl.core.types.dsl.DateTimePath;
import com.querydsl.core.types.dsl.StringPath;
import com.querydsl.sql.ColumnMetadata;
import com.youdoneed.friends.model.RemoveRecommendFriends;

import javax.annotation.Generated;
import java.sql.Types;

import static com.querydsl.core.types.PathMetadataFactory.forVariable;

/**
 * QRemoveRecommendFriends is a Querydsl query type for RemoveRecommendFriends
 */
@Generated("com.querydsl.sql.codegen.MetaDataSerializer")
public class QRemoveRecommendFriends extends com.querydsl.sql.RelationalPathBase<RemoveRecommendFriends> {

    private static final long serialVersionUID = -1415165738;

    public static final QRemoveRecommendFriends RemoveRecommendFriends = new QRemoveRecommendFriends("RemoveRecommendFriends");

    public final DateTimePath<java.util.Date> createTime = createDateTime("createTime", java.util.Date.class);

    public final StringPath friendId = createString("friendId");

    public final StringPath removeRecommendId = createString("removeRecommendId");

    public final StringPath userId = createString("userId");

    public final com.querydsl.sql.PrimaryKey<RemoveRecommendFriends> primary = createPrimaryKey(removeRecommendId);

    public QRemoveRecommendFriends(String variable) {
        super(RemoveRecommendFriends.class, forVariable(variable), "null", "RemoveRecommendFriends");
        addMetadata();
    }

    public QRemoveRecommendFriends(String variable, String schema, String table) {
        super(RemoveRecommendFriends.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QRemoveRecommendFriends(String variable, String schema) {
        super(RemoveRecommendFriends.class, forVariable(variable), schema, "RemoveRecommendFriends");
        addMetadata();
    }

    public QRemoveRecommendFriends(Path<? extends RemoveRecommendFriends> path) {
        super(path.getType(), path.getMetadata(), "null", "RemoveRecommendFriends");
        addMetadata();
    }

    public QRemoveRecommendFriends(PathMetadata metadata) {
        super(RemoveRecommendFriends.class, metadata, "null", "RemoveRecommendFriends");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(createTime, ColumnMetadata.named("create_time").withIndex(4).ofType(Types.TIMESTAMP).withSize(19).notNull());
        addMetadata(friendId, ColumnMetadata.named("friend_id").withIndex(3).ofType(Types.VARCHAR).withSize(32).notNull());
        addMetadata(removeRecommendId, ColumnMetadata.named("remove_recommend_id").withIndex(1).ofType(Types.VARCHAR).withSize(32).notNull());
        addMetadata(userId, ColumnMetadata.named("user_id").withIndex(2).ofType(Types.VARCHAR).withSize(32).notNull());
    }

}

